package com.itheima.service.db;

import com.itheima.domain.db.*;

import java.util.List;

public interface TestSoulService {


    List<Questions> findQuestionsList();


    UserIsStatus findStatusByUserId(Long id);


    void saveStatus(UserIsStatus userIsStatus);


    List<Questionnaire> findQuestionnaire();


    List<Answer> findQuestionsAnswer(Integer id);


    Answer findOptionScore(Integer optionId);


    Integer findTestResult(Integer score);


    Questions findPaperIdByQuestionId(String questionId);


    void updateStatus(UserIsStatus userIsStatus);


    TestResult findResult(Integer id);


    List<UserNature> findUserNature(Long id);


    List<UserIsStatus> findScore(Long userId);
}
